//
//  YLHomeProductModel.h
//  YLFinanceService
//
//  Created by she1323 on 2017/10/18.
//  Copyright © 2017年 she1323. All rights reserved.
//  首页产品列表

#import <UIKit/UIKit.h>
#import <YYModel.h>

@interface YLProductModel : NSObject<YYModel>

@property (nonatomic, assign) NSInteger index;
/**
 产品名字
 */
@property (nonatomic, strong) NSString *productName;

/**
 劵
 */
@property (nonatomic, strong) NSArray *usableVouchers;



@property (nonatomic, strong) NSArray *tags;
/**
 特性名称
 */
@property (nonatomic, strong) NSString *featuresText;

/**
 年化收益
 */
@property (nonatomic, strong) NSString *annualizedYield;

/**
 期限
 */
@property (nonatomic, assign) NSInteger productTerm;

/**
 剩余额度
 */
@property (nonatomic, assign) CGFloat indexLimit;

/**
 最大额度
 */
@property (nonatomic, assign) CGFloat maxLimit;


/**
 唯一标识符
 */
@property (nonatomic, strong) NSString *productCode;

@property (nonatomic, strong) NSArray *customerProductVouchers;

/**
 起投
 */
@property (nonatomic, assign) CGFloat leastMoney;

/**
 兑付方式
 */
@property (nonatomic, assign) NSInteger payCategory;

/**
 是否预约
 */
@property (nonatomic, assign) BOOL isReservation;

@property (nonatomic, strong) NSString *productId;


/**
 投资价格
 */
@property (nonatomic, assign) NSUInteger investmentMoney;

@end

@interface YLInvestVouncherTextModel : NSObject

@property (nonatomic, strong) NSString *investVoucherText;

@property (nonatomic, assign) NSInteger investVoucherType;

@end
